package com.ambow.core.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author dq
 * @since 2022-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DqUser对象", description="用户表")
public class DqUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id 和role表对应")
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    @ApiModelProperty(value = "真实姓名")
    private String userName;

    @ApiModelProperty(value = "性别 0男 1女 2未知")
    private Integer userSex;

    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    @ApiModelProperty(value = "手机号")
    private String userPhone;

    @ApiModelProperty(value = "生日")
    private String userBirth;

    @ApiModelProperty(value = "当前状态 0正常 1冻结 2拉黑")
    private Integer userAttribute;

    @ApiModelProperty(value = "备注")
    private String remake;


}
